<%@page import="com.award.jdbc.dao.JdbcDao"%>
<%@page import="com.award.model.Manager"%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
if(null==session.getAttribute("manager")){
response.sendRedirect("./managerLogin.jsp");
}
Manager mg=null;
if(null!=session.getAttribute("manager")){
mg=(Manager)session.getAttribute("manager");}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Home.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
	<link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>

  </head>
  
  <body>
  <body>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo"><a>管理员界面</a></div>
        <div class="left_open">
            <i title="展开左侧栏" class="iconfont">&#xe699;</i>
        </div>
        <ul class="layui-nav right" lay-filter="">
          <li class="layui-nav-item">
            <a href="javascript:;"><%= mg.getUsername() %></a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
              <dd><a href="./jsp/manager/managerLogin.jsp">退出</a></dd>
            </dl>
          </li>
          <li class="layui-nav-item to-index"><a href="/">前台首页</a></li>
        </ul>
        
    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
     <!-- 左侧菜单开始 -->
    <div class="left-nav">
      <div id="side-nav">
        <ul id="nav">
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe6b8;</i>
                    <cite>物品管理</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li>
                        <a _href="./jsp/manager/commodityList.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>物品列表</cite>
                            
                        </a>
                    </li>
                    <li>
                        <a _href="./jsp/manager/commodityAdd.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>物品添加</cite>
                        </a>
                    </li>
                    <li>
                        <a _href="./jsp/manager/commodityWait.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>时机未到</cite>
                        </a>
                    </li>
                    <li>
                        <a _href="./jsp/manager/commodityDoing.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>正在进行中...</cite>
                        </a>
                    </li>
                    <li>
                        <a _href="./jsp/manager/commodityDone.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>待发送</cite>
                        </a>
                    </li>
                    
                </ul>
            </li>
            
            <li>
                <a href="javascript:;">
                    <i class="iconfont">&#xe723;</i>
                    <cite>其他</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    <li>
                        <a _href="./jsp/manager/advertisingList.jsp">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>广告列表</cite>
                        </a>
                    </li >
                </ul>
            </li>
        </ul>
      </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
          <ul class="layui-tab-title">
            <li>物品列表</li>
          </ul>
          <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='./jsp/manager/commodityList.jsp' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
          </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer" style="text-align: center;">
        <div class="copyright">Copyright ©2017</div>  
    </div>
    <!-- 底部结束 -->
</body>
  </body>
</html>
